package com.atguigu.gulimall.util.service;

import com.rabbitmq.client.Channel;

import java.io.IOException;

/**
 * @author nicc
 * @version 1.0
 * @className RabbitService
 * @date 2022-10-24 12:09
 */
public interface RabbitService {

    /**
     * 消息重试消费
     * @param channel
     * @param deliveryTag
     * @param msgContent
     * @param count
     * @throws IOException
     */
    void retry(Channel channel, Long deliveryTag, String msgContent, int count ) throws IOException;

}
